package com.ruoyi.system.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

@Data
public class ReservationsPojo extends BaseEntity {
    /** 编号 */
    private Long reservationId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;
    /** 用户ID */
    @Excel(name = "用户名")
    private Long userName;

    /** 场地ID */
    @Excel(name = "场地ID")
    private Long courtId;
    /** 场地ID */
    @Excel(name = "场地名")
    private Long courtName;

    /** 预约日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reservationDate;

    /** 时间段 */
    @Excel(name = "时间段")
    private String reservationTimeSlot;

    /** 预约定金 */
    @Excel(name = "预约定金")
    private Long reservationDeposit;

    /** 预约人数 */
    @Excel(name = "预约人数")
    private Long reservationNum;

    /** 预约状态 */
    @Excel(name = "预约状态")
    private Long reservationStatus;
}
